<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\FamilyinfoModel */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="familyinfo-model-form">

    <?php $form = ActiveForm::begin(); ?>

   

    <?= $form->field($model, 'stu_id')->hiddenInput(['maxlength' => true,
    		'value'=>$id,
    ])->label('') ?>

    <?= $form->field($model, 'address')->textInput(['maxlength' => true])->label('家庭详细通讯地址（按照“省-地级市-县（区）-街道（乡镇）-社区（村）-门牌号”格式填写）') ?>

    <?= $form->field($model, 'recipient')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'postal_code')->textInput() ?>

    <?= $form->field($model, 'economic_status')->dropDownList(['不困难'=>'不困难',
    		'一般困难'=>'一般困难',
    		'困难'=>'困难',
    		'特别困难'=>'特别困难','其他'=>'其他'])->label('家庭经济状况(需根据学校认定结果填写)') ?>

    <?= $form->field($model, 'load')->dropDownList(['未办理'=>'未办理',
    		'生源地贷款'=>'生源地贷款',
    		'校园地贷款'=>'校园地贷款',
    		]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? '添加' : '修改', ['class' => $model->isNewRecord ? 'btn btn-info' : 'btn btn-info']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
